package yang.yu.sunny.infra;

import yang.yu.sunny.domain.NamedEntity;

import java.util.Collection;

/**
 * 可观新的的主数据服务
 * Created by yyang on 16/4/15.
 */
public interface UpdatableMasterDataService extends MasterDataService {

    void init();

    void update(Collection<? extends NamedEntity> entities);

    void update(NamedEntity... entities);
}
